Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4.0.2 #136

Merged
merged 5 commits into from
Jun 27, 2024
Merged

v4.0.2 #136

merged 5 commits into from
Jun 27, 2024

Conversation

Frix-x
Copy link
Owner

@Frix-x Frix-x commented Jun 27, 2024

Summary by Sourcery

This pull request includes enhancements to the Accelerometer class for better file write control and error handling, updates to command descriptions for clarity, and the addition of a new GitHub Actions workflow for smoke tests and linting. A new smoke test configuration file for Klippy tests has also been added.

  • Enhancements:
    • Refactored the Accelerometer class to include reactor dependency for better control over file write operations.
    • Improved error handling and timeout management for file write operations in the Accelerometer class.
    • Updated command descriptions for better readability and clarity in the ShakeTune class.
  • CI:
    • Added a new GitHub Actions workflow for smoke tests, including Klippy tests and linting.
  • Tests:
    • Added a new smoke test configuration file for Klippy tests.

Copy link

sourcery-ai bot commented Jun 27, 2024

Reviewer's Guide by Sourcery

This pull request introduces several enhancements and fixes to the ShakeTune module, including the addition of new constants, refactoring of command registration, and improvements to file writing and accelerometer handling. Additionally, a new GitHub Actions workflow for smoke testing is added.

File-Level Changes

Files Changes
shaketune/commands/axes_map_calibration.py
shaketune/commands/create_vibrations_profile.py
shaketune/commands/axes_shaper_calibration.py
shaketune/commands/compare_belts_responses.py
shaketune/commands/excitate_axis_at_freq.py
Modified Accelerometer instantiation to include reactor and refactored velocity limit setting for better readability.
.github/workflows/test.yml
ci/smoke-test/klippy-tests/simple.cfg
Added a new GitHub Actions workflow for smoke testing and a configuration file for simple smoke tests.

Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Frix-x - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 5 issues found
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

shaketune/shaketune.py Show resolved Hide resolved
shaketune/commands/accelerometer.py Show resolved Hide resolved
shaketune/commands/accelerometer.py Show resolved Hide resolved
shaketune/commands/axes_map_calibration.py Show resolved Hide resolved
.github/workflows/test.yml Show resolved Hide resolved
@Frix-x Frix-x linked an issue Jun 27, 2024 that may be closed by this pull request
1 task
@Frix-x Frix-x merged commit 4a99e95 into main Jun 27, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

project.name contains an illegal character
2 participants